#ifndef K_Cube_H
#define K_Cube_H
class Cube
{
public:
	Cube();
	Cube(GLuint texture[6]/*char* mapPaths[6]*/,GLfloat xpos,GLfloat ypos,GLfloat zpos,GLfloat length,GLfloat* worldMatrix,GLfloat* positionMatrix);
	void SetMoveValue(int xyz,GLfloat xvec,GLfloat yvec,GLfloat zvec, GLfloat R);
	void Draw();
	void ResetColor();
	void ResetAngel();
	~Cube(void);
private:
	GLuint texture[6];
public:
	GLfloat xPosition;
	GLfloat yPosition;
	GLfloat zPosition;

	GLfloat vx;
	GLfloat vy;
	GLfloat vz;
	//for animotion
	GLfloat angelx;
	GLfloat angely;
	GLfloat angelz;

	int faceZ1;
	int faceZ0;
	int faceY1;
	int faceY0;
	int faceX1;
	int faceX0;

	GLfloat length;
	GLfloat *pWorldMatrix;
	GLfloat *pPositionMatrix;
};
#endif


